cmake_minimum_required(VERSION 3.5.1)

add_library( control_test_base  control_test_base.cc

)

target_link_libraries( control_test_base
cyber
control_proto
control_common
common
controller_agent
common_vehicle_state_proto
control_component_lib
)




add_executable(simple_control_test  simple_control_test.cc   )
target_link_libraries( simple_control_test
control_test_base
 gtest gtest_main
)



add_executable( relative_position_test  relative_position_test.cc  )
target_link_libraries( relative_position_test

  control_test_base
 gtest gtest_main  
)




add_executable( mpc_controller_test  mpc_controller_test.cc  )
target_link_libraries( mpc_controller_test
control_test_base
 gtest gtest_main
    
)


